package com.haizhi.crm.biz.service;


import com.haizhi.crm.biz.model.ProductQo;
import com.haizhi.crm.biz.model.ProductVo;
import com.haizhi.crm.common.model.Response;

/**
 * 产品service
 * Created by yangyijun on 2018/06/03
 */
public interface ProductService {


    /**
     * ES查询产品详情
     *
     * @param productKey
     * @return
     */
    Response detail(String productKey);

    /**
     * ES查询产品销售记录
     *
     * @param productKey
     * @return
     */
    ProductVo querySalesList(String productKey);

    /**
     * ES查询产品列表
     *
     * @param productName
     * @return
     */
    Response findByName(String productName);

    Response searchProducts(ProductQo productQo);

    Response findAssociatedProducts(String detailKey);

    Response findProduceCustomer(String detailKey);

}
